package com.daxidi.cn.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author JiaLin
 * create 2020-11-16
 */
@ApiModel("后台订单列表查询Vo")
@Data
public class PaySystemListVo {

    @ApiModelProperty("billId")
    private Long id;

    @ApiModelProperty("商家名称")
    private String shopName;

    @ApiModelProperty("订单编号")
    private Long orderId;

    @ApiModelProperty("订单编号")
    private String transactionId;

    @ApiModelProperty("订单总价")
    private Double total;

    @ApiModelProperty("折扣")
    private Double discount;

    @ApiModelProperty("实收金额")
    private Double discounted;

    @ApiModelProperty("交易状态")
    private Integer state;

    //格式 + 东八区
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("交易时间")
    private Date createdAt;

    @ApiModelProperty("会员")
    private String memberName;

}
